<extend name='layout:index'/>
<block name='content'>
<div class="mws-panel grid_8" style="min-width:780px">
                	<div class="mws-panel-header">
                    	<span><i class="icon-table"></i> 管理员列表</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                        <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper" role="grid">
                        <div id="DataTables_Table_0_length" class="dataTables_length">
                    </div>
                    <div class="dataTables_filter" id="DataTables_Table_0_filter">
                    	<label>添加管理员: 
                    	<a href='__MODULE__/role/add' style='font-size:20px;color:#869FB9;margin-left:15px'><i class="icon-plus" style='margin-right:20px'></i></a>
                    	</div>
         <table class="mws-datatable mws-table dataTable" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">

	         <thead>
                                <tr>
                                    <th>管理员姓名</th>
                                    <th>Email地址</th>
                                    <th>管理员级别</th>
                                    <th>加入时间</th>
                                    <th>最后登录时间</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                           <foreach name='admin_user' item='vo'>
                            <if condition='$vo.note neq "root" '>
                               <tr>
                                   <td><center>{$vo.user_name}</center></td>
                                    <td><center>{$vo.email}</center></td>
                                    <td><center>{$vo.role}</center></td>
                                    <td><center>{$vo.add_time}</center></td>
                                    <td><center><?php echo date('Y-m-d H:i:s',$vo['last_login']) ?></center></td>
                                  	<td>
                                  		<center>                                  			
                                  			<a href='__MODULE__/role/edit/id/{$vo.user_id}' title='编辑' style='font-size:18px'><i class="icon-pencil"></i></a>
                                  			<a href='__MODULE__/role/look/id/{$vo.user_id}' title='查看日志' style='font-size:18px'><i class="icon-github"></i></a>
                                  			<a href='__MODULE__/role/delete/id/{$vo.user_id}' title='删除' style='font-size:18px'><i class="icon-trash"></i></a>
                                  		</center>
                                  	</td>
                                    
                                </tr>
                                </if>
                             </foreach>
                            </tbody>
                                    
                                  </table><div class="dataTables_info" id="DataTables_Table_0_info">Showing 1 to 10 of 57 entries</div><div class="dataTables_paginate paging_two_button" id="DataTables_Table_0_paginate"><a class="paginate_disabled_previous" tabindex="0" role="button" id="DataTables_Table_0_previous" aria-controls="DataTables_Table_0">Previous</a><a class="paginate_enabled_next" tabindex="0" role="button" id="DataTables_Table_0_next" aria-controls="DataTables_Table_0">Next</a></div></div>
                    </div>
                </div>




















</block>